package com.sjb.singleequipment;

/**
 * 集中存放生成key要用到的多个常量
 * @author sjb
 */
public interface RedisKeyConstant {

    // IP 和 sessionId 的key前缀
    String USER_EXTRA_INFO = "user:extra:";
    // Spring Session中session信息的后缀
    String SESSION_KEY_POSTFIX = "session";
    // session中保存的属性的前缀
    String SESSION_ATTRIBUTE_PREFIX = "sessionAttr";
    // 用户登录态键
    String USER_LOGIN_STATE = "user_login";
    String IP = "ip";

    String SESSION_ID = "sessionId";


}
